package com.training.dao.xixiaoming;

import java.util.List;

import com.training.pojo.chengshu.MotorRoom;

public interface motorDao {
	public List<MotorRoom> listMotor(Integer start,Integer max);
	public Integer getRowCount();
	public MotorRoom getMotorById(Integer id);
	public void saveEditMotor(MotorRoom motor);
	public void deleMotor(Integer id);
	public List<MotorRoom> serachMotor(Integer uid,Integer deptid,String deptname,String address);
	public boolean checkMotorname(String motorname);
}
